<?php


class WakPhpFileField extends DjFileField {

    /**
     * @return WakPhpFile
     */
    public function clean($input=null) {
        $input = parent::clean($input);
        // $classes = $file->definedClasses();
        return $input;
    }

    /**
     * builds file instance from $_FILES
     * @return WakPhpFile
     */
    protected function _normalize($input=null) {
        return new WakPhpFile($_FILES[$this->name]['tmp_name']);
    }/**/
}